package com.itany.springcloud.springcloudsentinelservice8081.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.itany.springcloud.springcloudcommon.vo.ResponseResult;

public class HelloControllerBlockHandler {

    public static ResponseResult blockHandler(BlockException e){
        return ResponseResult.fail("blockHandler处理异常，异常为："+e);
    }
}
